//
//  GeneralColor.h
//  Fruit
//
//  Created by ༺ོ࿆飞༻ on 2020/2/2.
//  Copyright © 2020 ༺ོ࿆飞༻. All rights reserved.
//

#ifndef GeneralColor_h
#define GeneralColor_h

#define kBlackColor [UIColor blackColor]
#define kWhiteColor [UIColor whiteColor]
#define kClearColor [UIColor clearColor]
#define kThemeColor LF_RGB(69,108,160)
#define kBgColor kWhiteColor
#define kLineColor KColor_DC


#define kColor_91    [UIColor getColor:@"#919191"]
#define KColor_33    [UIColor getColor:@"#333333"]
#define KColor_66    [UIColor getColor:@"#666666"]
#define KColor_99    [UIColor getColor:@"#999999"]
#define KColor_70    [UIColor getColor:@"#707070"]
#define KColor_DC    [UIColor getColor:@"#DCDCDC"]
#define kColor_E2    [UIColor getColor:@"#4A90E2"]
#define kColor_9A    [UIColor getColor:@"#D8BF9A"]
#define kColor_D6    [UIColor getColor:@"#D7D7D6"]
#define kColor_D2    [UIColor getColor:@"#2D2D2D"]
#define kColor_9E    [UIColor getColor:@"#DBC39E"]
#define kColor_65    [UIColor getColor:@"#B49065"]
#define kColor_93    [UIColor getColor:@"#8E8E93"]
#define kColor_3A    [UIColor getColor:@"#37373A"]
#define kColor_31    [UIColor getColor:@"#2F3031"]
#define kColor_33    [UIColor getColor:@"#2F3033"]
#define kColor_0E    [UIColor getColor:@"#0E0E0E"]
#define kColor_8A    [UIColor getColor:@"#80828A"]


//颜色 Color
#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]
#define LF_RGBA(r,g,b,a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]
#define LF_RGB(r,g,b) LF_RGBA(r,g,b,1.0f)
#define RGB51 LF_RGB(51, 51, 51)
#define RGB44 LF_RGB(44, 44, 44)
#define RGB41 LF_RGB(41, 41, 41)
#define RGB34 LF_RGB(34, 34, 34)
#define RGB102 LF_RGB(102, 102, 102)
#define RGB153 LF_RGB(153, 153, 153)
#define RGB238 LF_RGB(238, 238, 238)
#define ClearColor       [UIColor clearColor]

#endif /* GeneralColor_h */
